package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lww
 * @since 2024-01-02
 */
@Data
@TableName("hx_collection_location")
public class HxCollectionLocation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 集货位id
     */
    @TableField("location_id")
    private Long locationId;

    /**
     * 集货位编号
     */
    @TableField("location")
    private String location;

    /**
     * 通道编号
     */
    @TableField("stock_port")
    private String stockPort;

    /**
     * 通道id
     */
    @TableField("stock_port_id")
    private Long stockPortId;

    /**
     * 收货客户
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 收货客户id
     */
    @TableField("get_unit_id")
    private String getUnitId;

    /**
     * 支付id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 货位状态
     */
    @TableField("status")
    private String status;
    /**
     * 托盘id
     */
    @TableField("tray_id")
    private Long trayId;

    /**
     * 托盘编号
     */
    @TableField("tray_number")
    private String trayNumber;


    @Override
    public String toString() {
        return "HxCollectionLocation{" +
        "id=" + id +
        ", locationId=" + locationId +
        ", location=" + location +
        ", stockPort=" + stockPort +
        ", stockPortId=" + stockPortId +
        ", getUnit=" + getUnit +
        ", getUnitId=" + getUnitId +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
         ", trayId=" + trayId +
         ", trayNumber=" + trayNumber +
        ", status=" + status +
        "}";
    }
}
